package com.example.business.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mengchang
 * @since 2021-11-21
 */
@TableName("operation_log")
public class OperationLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("log_type")
    private String logType;

    @TableField("sys_create_time")
    private LocalDateTime sysCreateTime;

    @TableField("sys_modify_time")
    private LocalDateTime sysModifyTime;

    @TableField("send_msg")
    private String sendMsg;

    @TableField("receive_msg")
    private String receiveMsg;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLogType() {
        return logType;
    }

    public void setLogType(String logType) {
        this.logType = logType;
    }

    public LocalDateTime getSysCreateTime() {
        return sysCreateTime;
    }

    public void setSysCreateTime(LocalDateTime sysCreateTime) {
        this.sysCreateTime = sysCreateTime;
    }

    public LocalDateTime getSysModifyTime() {
        return sysModifyTime;
    }

    public void setSysModifyTime(LocalDateTime sysModifyTime) {
        this.sysModifyTime = sysModifyTime;
    }

    public String getSendMsg() {
        return sendMsg;
    }

    public void setSendMsg(String sendMsg) {
        this.sendMsg = sendMsg;
    }

    public String getReceiveMsg() {
        return receiveMsg;
    }

    public void setReceiveMsg(String receiveMsg) {
        this.receiveMsg = receiveMsg;
    }

    @Override
    public String toString() {
        return "OperationLog{" +
        "id=" + id +
        ", logType=" + logType +
        ", sysCreateTime=" + sysCreateTime +
        ", sysModifyTime=" + sysModifyTime +
        ", sendMsg=" + sendMsg +
        ", receiveMsg=" + receiveMsg +
        "}";
    }
}
